//package com.ztesoft.huangfu.learning.springboot.springboottest.service;
//
//import com.ztesoft.huangfu.learning.springboot.springboottest.entity.Student;
//import com.ztesoft.zsmart.hound.client.annotation.Trace;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.ArrayList;
//import java.util.List;
//
///**
// * Created with IntelliJ IDEA.
// * Author: huangfu.daohui
// * Date: 2018/5/31
// * Time: 15:02
// * Version: 1.0
// * Description:
// **/
//@Service
//public class StudentService {
//
//    @Autowired
//    private Stu2Service stu2Service;
//
//    @Trace
//    public List<Student> getStudentList() {
//        List<Student> list = stu2Service.get();
//        try {
//            Thread.sleep(5000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
////        List<Student> list = get();
//        return list;
//    }
//
//
//    @Trace
//    public List<Student> get() {
//        List list = get2();
//        return list;
//    }
//
//    @Trace
//    public List<Student> get2() {
//        List list = new ArrayList();
//        Student student1 = new Student();
//        student1.setId(1L);
//        student1.setAge(12);
//        student1.setName("huang");
//        Student student2 = new Student();
//        student2.setId(2L);
//        student2.setAge(13);
//        student2.setName("fu");
//        Student student3 = new Student();
//        student3.setId(3L);
//        student3.setAge(14);
//        student3.setName("dao");
//        list.add(student1);
//        list.add(student2);
//        list.add(student3);
//        return list;
//    }
//}
